package com.myapplication.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by My on 2016/10/20.
 */
public class CommentBean {

    /**
     * status : succ
     * data : {"hot_comments":[],"comments":[{"id":2723051717,"comment_content":"mark\u2026\u2026","pub_time":"Sun Sep 25 00:02:28 +0800 2016","supports_count":0,"user":{"id":26073629,"nickname":"用户26073629","photo":"http://shared.ydstatic.com/fanxian/images/avatar105.png","level":1,"email":"30845021@163.com"}},{"id":2723049245,"comment_content":"几个月不更新也是6","pub_time":"Sun Sep 18 16:29:35 +0800 2016","supports_count":0,"user":{"id":26402947,"nickname":"你想梦什么","photo":"http://shared.ydstatic.com/fanxian/images/avatar105.png","level":1,"email":"26402947"}},{"id":2723045557,"comment_content":"赞！","pub_time":"Thu Sep 8 14:14:43 +0800 2016","supports_count":1,"user":{"id":27403243,"nickname":"微信用户27403243","photo":"http://shared.ydstatic.com/fanxian/images/avatar105.png","level":1,"email":"27403243"}},{"id":2723044463,"comment_content":"回复@回形针1：液态屁","pub_time":"Tue Sep 6 11:02:38 +0800 2016","supports_count":0,"user":{"id":27387655,"nickname":"wx哈","photo":"http://oimagea8.ydstatic.com/image?id=-320183350388637209&product=cube&w=50&h=50","level":1,"email":"27387655"}},{"id":2723038947,"comment_content":"还行","pub_time":"Thu Aug 25 14:17:25 +0800 2016","supports_count":0,"user":{"id":27367077,"nickname":"回形针1","photo":"http://oimageb7.ydstatic.com/image?id=7959920909793180512&product=cube&w=50&h=50","level":2,"email":"test33_1@163.com"}},{"id":2723036149,"comment_content":"回复@Shuyou_W：确实是  都不如换新的  而且还能买好几个","pub_time":"Fri Aug 19 12:03:24 +0800 2016","supports_count":0,"user":{"id":27383215,"nickname":"用户27383215","photo":"http://shared.ydstatic.com/fanxian/images/avatar105.png","level":1,"email":"maybach57s@126.com"}},{"id":2723034373,"comment_content":"http://163.fm/YSi8Vj2","pub_time":"Mon Aug 15 13:47:02 +0800 2016","supports_count":0,"user":{"id":5891199,"nickname":"小迷糊先生","photo":"http://oimagec7.ydstatic.com/image?id=-4407629661460478705&product=cube&w=50&h=50","level":8,"email":"test092000@126.com"}},{"id":2723011389,"comment_content":"想象如果用Liquid Ass 液态屁的时候旁人会出现怎样的表情？反正会让我笑喷！但还是要感谢惠惠的推荐，起码会让我以后防整！","pub_time":"Tue Jun 28 11:12:35 +0800 2016","supports_count":0,"user":{"id":27157661,"nickname":"雅克德罗拉圔","photo":"http://shared.ydstatic.com/fanxian/images/avatar105.png","level":1,"email":"27157661"}},{"id":2722973009,"comment_content":"回复@用户26949211：不如买几个不锈钢碗盆，还能装饭菜。","pub_time":"Fri Apr 22 16:05:45 +0800 2016","supports_count":0,"user":{"id":23529410,"nickname":"Shuyou_W","photo":"http://oimagec6.ydstatic.com/image?product=gouwu&url=http%3A%2F%2Ftp1.sinaimg.cn%2F2075632584%2F180%2F40063334284%2F1&w=50&h=50","level":4,"email":"kingm897@163.com"}},{"id":2722966373,"comment_content":"哈哈","pub_time":"Wed Apr 13 14:33:26 +0800 2016","supports_count":0,"user":{"id":7486250,"nickname":"Old_Mcdull","photo":"http://shared.ydstatic.com/fanxian/images/avatar105.png","level":1,"email":"zhuafeng2008@163.com"}},{"id":2722965657,"comment_content":"液态屁 亮瞎了 哈哈哈哈","pub_time":"Tue Apr 12 16:21:33 +0800 2016","supports_count":0,"user":{"id":25536740,"nickname":"楼上说的对","photo":"http://oimagec4.ydstatic.com/image?id=-8874188097763912152&product=cube&w=50&h=50","level":3,"email":"haquanby@163.com"}},{"id":2722961885,"comment_content":"哈哈","pub_time":"Thu Apr 7 16:05:05 +0800 2016","supports_count":0,"user":{"id":7486250,"nickname":"Old_Mcdull","photo":"http://shared.ydstatic.com/fanxian/images/avatar105.png","level":1,"email":"zhuafeng2008@163.com"}},{"id":2722960397,"comment_content":"液态屁，哈哈哈","pub_time":"Wed Apr 6 06:03:29 +0800 2016","supports_count":0,"user":{"id":27048105,"nickname":"用户27048105","photo":"http://oimagec8.ydstatic.com/image?id=5549410196340810254&product=cube&w=50&h=50","level":1,"email":"27048105"}},{"id":2722959693,"comment_content":"压杯面不错","pub_time":"Tue Apr 5 08:30:03 +0800 2016","supports_count":0,"user":{"id":24641556,"nickname":"YI泽","photo":"http://shared.ydstatic.com/fanxian/images/avatar105.png","level":2,"email":"lonn2002@126.com"}},{"id":2722959665,"comment_content":"西瓜取汁器好用吗？","pub_time":"Tue Apr 5 07:33:09 +0800 2016","supports_count":0,"user":{"id":27063725,"nickname":"盐小銳RaRa","photo":"http://shared.ydstatic.com/fanxian/images/avatar105.png","level":1,"email":"27063725"}},{"id":2722959647,"comment_content":"回复@Shuyou_W：怎么就坑了？放冰箱确实能除异味","pub_time":"Tue Apr 5 04:31:47 +0800 2016","supports_count":0,"user":{"id":26949211,"nickname":"用户26949211","photo":"http://shared.ydstatic.com/fanxian/images/avatar105.png","level":4,"email":"m13558121350_1@163.com"}},{"id":2722959499,"comment_content":"摩擦系数适中就能去异味？？？","pub_time":"Mon Apr 4 20:20:25 +0800 2016","supports_count":0,"user":{"id":27049409,"nickname":"阿昌133","photo":"http://shared.ydstatic.com/fanxian/images/avatar105.png","level":1,"email":"27049409"}},{"id":2722936703,"comment_content":"艾玛","pub_time":"Mon Mar 7 12:00:02 +0800 2016","supports_count":0,"user":{"id":18510170,"nickname":"佛朗西斯科","photo":"http://oimageb7.ydstatic.com/image?id=159873151619402321&product=cube&w=50&h=50","level":7,"email":"test42351@163.com"}},{"id":2722936185,"comment_content":"第一个不锈钢皂，百度了一下，是个坑爹的玩意","pub_time":"Sun Mar 6 20:34:31 +0800 2016","supports_count":0,"user":{"id":23529410,"nickname":"Shuyou_W","photo":"http://oimagec6.ydstatic.com/image?product=gouwu&url=http%3A%2F%2Ftp1.sinaimg.cn%2F2075632584%2F180%2F40063334284%2F1&w=50&h=50","level":4,"email":"kingm897@163.com"}},{"id":2722935613,"comment_content":"鍛靛懙鍛靛懙馃槉","pub_time":"Sun Mar 6 01:05:03 +0800 2016","supports_count":0,"user":{"id":7486250,"nickname":"Old_Mcdull","photo":"http://shared.ydstatic.com/fanxian/images/avatar105.png","level":1,"email":"zhuafeng2008@163.com"}}]}
     */

    @SerializedName("status")
    private String status;
    @SerializedName("data")
    private DataBean data;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        @SerializedName("hot_comments")
        private List<?> hotComments;
        /**
         * id : 2723051717
         * comment_content : mark……
         * pub_time : Sun Sep 25 00:02:28 +0800 2016
         * supports_count : 0
         * user : {"id":26073629,"nickname":"用户26073629","photo":"http://shared.ydstatic.com/fanxian/images/avatar105.png","level":1,"email":"30845021@163.com"}
         */

        @SerializedName("comments")
        private List<CommentsBean> comments;

        public List<?> getHotComments() {
            return hotComments;
        }

        public void setHotComments(List<?> hotComments) {
            this.hotComments = hotComments;
        }

        public List<CommentsBean> getComments() {
            return comments;
        }

        public void setComments(List<CommentsBean> comments) {
            this.comments = comments;
        }

        public static class CommentsBean {
            @SerializedName("id")
            private long id;
            @SerializedName("comment_content")
            private String commentContent;
            @SerializedName("pub_time")
            private String pubTime;
            @SerializedName("supports_count")
            private int supportsCount;
            /**
             * id : 26073629
             * nickname : 用户26073629
             * photo : http://shared.ydstatic.com/fanxian/images/avatar105.png
             * level : 1
             * email : 30845021@163.com
             */

            @SerializedName("user")
            private UserBean user;

            public long getId() {
                return id;
            }

            public void setId(long id) {
                this.id = id;
            }

            public String getCommentContent() {
                return commentContent;
            }

            public void setCommentContent(String commentContent) {
                this.commentContent = commentContent;
            }

            public String getPubTime() {
                return pubTime;
            }

            public void setPubTime(String pubTime) {
                this.pubTime = pubTime;
            }

            public int getSupportsCount() {
                return supportsCount;
            }

            public void setSupportsCount(int supportsCount) {
                this.supportsCount = supportsCount;
            }

            public UserBean getUser() {
                return user;
            }

            public void setUser(UserBean user) {
                this.user = user;
            }

            public static class UserBean {
                @SerializedName("id")
                private int id;
                @SerializedName("nickname")
                private String nickname;
                @SerializedName("photo")
                private String photo;
                @SerializedName("level")
                private int level;
                @SerializedName("email")
                private String email;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getNickname() {
                    return nickname;
                }

                public void setNickname(String nickname) {
                    this.nickname = nickname;
                }

                public String getPhoto() {
                    return photo;
                }

                public void setPhoto(String photo) {
                    this.photo = photo;
                }

                public int getLevel() {
                    return level;
                }

                public void setLevel(int level) {
                    this.level = level;
                }

                public String getEmail() {
                    return email;
                }

                public void setEmail(String email) {
                    this.email = email;
                }
            }
        }
    }
}
